﻿using System.Collections.Generic;

namespace FDSQLAssistant.Models
{
    public class Config
    {
        public string Name { get; set; }

        public int Order { get; set; }

        /// <summary>
        /// 库类型
        /// </summary>
        public DbType DbType { get; set; }

        public string ConnectionString { get; set; }
    }

    public class SysConfig
    {
        public string Name { get; set; }

        public List<Config> Connections { get; set; }
    }

    public enum DbType
    {
        SqlServer,
        MySql
    }
}
